
import request from '@/utils/request'

export function add(data) {
  return request({
    url: '/mes/holiday',
    method: 'post',
    data
  })
}

export function del(id) {
  return request({
    url: `/mes/holiday/${id}`,
    method: 'delete'

  })
}
export function getInfo(data) {
  return request({
    url: `/mes/holiday/page`,
    method: 'get',
    params: data
  })
}
